#include <reg51.h>
sbit led=P2^1;
sbit S17=P3^7;
void main()
{
	while(1)
	{
		S17=1;
		if(S17==0)
			led=0;
		else
			led=1;
	}
}